#pragma once
#include "subject.h"

class WeatherStation :public Subject
{
public:
	WeatherStation();
	~WeatherStation();

	virtual void RegisterObserver(std::shared_ptr<Observer> observer);
	virtual void RemoveObserver(std::shared_ptr<Observer> observer);
	virtual void NotifyObserver(int temperature, int pressure, int moisture);

private:
    std::vector<std::shared_ptr<Observer>> m_observers;
};
